From 07e387b06e6f0ce48e8426312de2b72efaed739b Mon Sep 17 00:00:00 2001 From: robertlipe Date: Sun, 25 Aug 2013 19:29:07 +0000 Subject: [PATCH] Actually commit leak fix I just told Steve I committed before lunch. {blush} git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4569 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/gpx.cc b/gpsbabel/gpx.cc index dbd4b92d2..dc2689dab 100644 --- a/gpsbabel/gpx.cc +++ b/gpsbabel/gpx.cc @@ -1101,7 +1101,7 @@ gpx_end(const QString& el) case tt_wpt_sym: case tt_rte_rtept_sym: case tt_trk_trkseg_trkpt_sym: - wpt_tmp->icon_descr = xstrdup(CSTR(cdatastr)); + wpt_tmp->icon_descr = cdatastr; break; case tt_wpt_time: case tt_trk_trkseg_trkpt_time: -- 2.30.2